﻿@using InnovaApp.Layers.ResourcesLayer.Properties
@model InnovaApp.Portals.MVC4Portal.Models.ViewModels.AdminSettings_ViewModel
@using (Ajax.BeginForm(actionName: "", routeValues: null, ajaxOptions: new AjaxOptions() { HttpMethod = "Post", OnSuccess = "$.fn.MainAjaxSuccess", OnFailure = "$.fn.MainAjaxFailure" }, htmlAttributes: new { @id = "frmAdminSettings", @class = "AdminSettings" }))
{
    @Html.HiddenFor(m => m.DialogToClose);
    <div id="AdminSettings_Tabs">
        <ul>
            <li><a href="#adminsettings_tabs-1">@Model.cap_MainSettings</a></li>
            <li><a href="#adminsettings_tabs-2">@Model.cap_SecondarySettings</a></li>
        </ul>
        <div id="adminsettings_tabs-1">
            <fieldset>
                <legend></legend>
                @Html.EditorFor(m => m.Settings)
            </fieldset>
        </div>
        <div id="adminsettings_tabs-2">
            <fieldset>
                <legend></legend>
                @Html.EditorFor(m => m.SecondarySettings)
            </fieldset>
        </div>

    </div>

}

